package com.neusoft.elmboot.service;

import com.neusoft.elmboot.po.Credit;

import java.util.List;

public interface CreditService {
    public Integer getTotalCreditByUserId(String userId);
    public List<Credit> getAvailableCreditByUserId(String userId);
    public List<Credit> getCreditByUserId(String userId);
    public List<Credit> getCreditByUserIdAndChannelType(String userId, int channelType);
    public int insertCredit(Credit credit);
    public int delCredit(Integer creditId);
    public int updCredit(Integer creditId,Integer num);
}

